import { Axios } from "./axios";

export const LOGIN = (data) => {
  return Axios({
    method: "post",
    url: "/vblog/api/v1/user/login",
    auth: {
      username: data.username,
      password: data.password,
    },
  });
};
export const LOGOUT = () => {
  return Axios({
    method: "post",
    url: "/vblog/api/v1/user/logout",
  });
};
